//
//  Xingcheng.m
//  Travel
//
//  Created by lanou3g on 15/4/12.
//  Copyright (c) 2015年 &#21556;&#21697;&#27901;. All rights reserved.
//

#import "Xingcheng.h"

@implementation Xingcheng
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"description"]) {
        self.DES = value;
    }
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
}
-(instancetype)init
{
    self = [super init];
    if (self) {
        _name = self.name;
        _DES = self.DES;
        _image_url = self.image_url;
        _plan_days_count = self.plan_days_count;
        _plan_nodes_count = self.plan_nodes_count;
    }
    return self;
}
@end
